package com.ian.homework;

//消费用户类
public class ConsumerInfo {
    private int iTime;
    private int iData;
    private float fCost;

    public ConsumerInfo(int iTime, int iData, float fCost) {
        this.setfCost(fCost);
        this.setiData(iData);
        this.setiTime(iTime);
    }

    public ConsumerInfo() {
    }

    public int getiTime() {
        return iTime;
    }

    public void setiTime(int iTime) {
        this.iTime = iTime;
    }

    public int getiData() {
        return iData;
    }

    public void setiData(int iData) {
        this.iData = iData;
    }

    public float getfCost() {
        return fCost;
    }

    public void setfCost(float fCost) {
        this.fCost = fCost;
    }
}
